package cn.wang.spring;

public class HelloSpring {
    private String hello = null;
    public  void print(){
        System.out.println("Spring say:,"+this.getHello()+"!");
    }

    private String getHello() {
        return hello;
    }
    public void setHello(String hello) {
        this.hello=hello;
    }
}
